package com.wlkj.action.zbq;

import com.jfinal.core.Controller;
import com.jfinal.kit.HttpKit;
import com.wlkj.config.UrlKit;

public class ZbqAction extends Controller {

	public void getType() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getZbqType, param);
		renderJson(result);
	}

	public void getZbqActivityPageList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getZbqActivityPageList, param);
		renderJson(result);
	}

	public void getZbqPartyActivityPageList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getZbqPartyActivityPageList, param);
		renderJson(result);
	}

	public void isHaveReportZbq() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.isHaveReportZbq, param);
		renderJson(result);
	}

	public void getZbqActivityContent() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getZbqActivityContent, param);
		renderJson(result);
	}

	public void publish() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.zbqPublish, param);
		renderJson(result);
	}

	public void remove() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.remove, param);
		renderJson(result);
	}

	public void getMyPageList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getMyZbqPageList, param);
		renderJson(result);
	}

	public void getMyCollectPageList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getMyCollectZbqPageList, param);
		renderJson(result);
	}
}
